package main

import (
    "google.golang.org/grpc"
    "gowork/gatewayStudentGrpc/webMessage"
    "gowork/gatewayStudentGrpc/webServer/handler"
    "net"
)

func main() {

    rpcServer := grpc.NewServer()
    webMessage.RegisterStudentServiceServer(rpcServer, new(handler.StudentHandlerCuda))

    lis, _ := net.Listen("tcp", ":7429")
    rpcServer.Serve(lis)

}

//protoc --grpc-gateway_out=logtostderr=true:. ordermessage.proto

//protoc --go_out=plugins=grpc:. ordermessage.proto